package com.cdks.wuxiu.api.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class InviteRecordVO {
    @ApiModelProperty(value = "用户信息")
    public UserInfoVO userInfo;

    @ApiModelProperty(value = "奖励信息")
    public RewardInfoVO rewardInfo;

    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class RewardInfoVO {
        /**
         * 奖励金额
         */
        @ApiModelProperty("cost")
        private Integer cost;

        /**
         * 奖励类型
         */
        @ApiModelProperty("costType")
        private Integer costType;

        /**
         * 奖励时间
         */
        @ApiModelProperty("createTime")
        private Integer createTime;
    }
}
